<template>
<div>修改图片路径</div>
<!-- <img :src="url" > -->
</template>
<script setup>
import {ref,reactive,toRef} from "vue";
let url= ref(new URL("../assets/image1.png",import.meta.url).href);
setTimeout(()=>{
    url.value = new URL("../assets/image3.png",import.meta.url).href;
},2000)
</script>
<style scoped>

</style>